﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B9F RID: 2975
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyGetRafflePoolInfoScRsp : IMessage<MonopolyGetRafflePoolInfoScRsp>, IMessage, IEquatable<MonopolyGetRafflePoolInfoScRsp>, IDeepCloneable<MonopolyGetRafflePoolInfoScRsp>, IBufferMessage
	{
		// Token: 0x17002588 RID: 9608
		// (get) Token: 0x0600851A RID: 34074 RVA: 0x001627CF File Offset: 0x001609CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyGetRafflePoolInfoScRsp> Parser
		{
			get
			{
				return MonopolyGetRafflePoolInfoScRsp._parser;
			}
		}

		// Token: 0x17002589 RID: 9609
		// (get) Token: 0x0600851B RID: 34075 RVA: 0x001627D6 File Offset: 0x001609D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyGetRafflePoolInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700258A RID: 9610
		// (get) Token: 0x0600851C RID: 34076 RVA: 0x001627E8 File Offset: 0x001609E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyGetRafflePoolInfoScRsp.Descriptor;
			}
		}

		// Token: 0x0600851D RID: 34077 RVA: 0x001627EF File Offset: 0x001609EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRafflePoolInfoScRsp()
		{
		}

		// Token: 0x0600851E RID: 34078 RVA: 0x001627F8 File Offset: 0x001609F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRafflePoolInfoScRsp(MonopolyGetRafflePoolInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.pCEGPDNBFLN_ = ((other.pCEGPDNBFLN_ != null) ? other.pCEGPDNBFLN_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600851F RID: 34079 RVA: 0x00162844 File Offset: 0x00160A44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRafflePoolInfoScRsp Clone()
		{
			return new MonopolyGetRafflePoolInfoScRsp(this);
		}

		// Token: 0x1700258B RID: 9611
		// (get) Token: 0x06008520 RID: 34080 RVA: 0x0016284C File Offset: 0x00160A4C
		// (set) Token: 0x06008521 RID: 34081 RVA: 0x00162854 File Offset: 0x00160A54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700258C RID: 9612
		// (get) Token: 0x06008522 RID: 34082 RVA: 0x0016285D File Offset: 0x00160A5D
		// (set) Token: 0x06008523 RID: 34083 RVA: 0x00162865 File Offset: 0x00160A65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LNLBMBDCLMC PCEGPDNBFLN
		{
			get
			{
				return this.pCEGPDNBFLN_;
			}
			set
			{
				this.pCEGPDNBFLN_ = value;
			}
		}

		// Token: 0x06008524 RID: 34084 RVA: 0x0016286E File Offset: 0x00160A6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyGetRafflePoolInfoScRsp);
		}

		// Token: 0x06008525 RID: 34085 RVA: 0x0016287C File Offset: 0x00160A7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyGetRafflePoolInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.PCEGPDNBFLN, other.PCEGPDNBFLN) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008526 RID: 34086 RVA: 0x001628CC File Offset: 0x00160ACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.pCEGPDNBFLN_ != null)
			{
				num ^= this.PCEGPDNBFLN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008527 RID: 34087 RVA: 0x00162921 File Offset: 0x00160B21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008528 RID: 34088 RVA: 0x00162929 File Offset: 0x00160B29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008529 RID: 34089 RVA: 0x00162934 File Offset: 0x00160B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.pCEGPDNBFLN_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.PCEGPDNBFLN);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600852A RID: 34090 RVA: 0x00162990 File Offset: 0x00160B90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.pCEGPDNBFLN_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PCEGPDNBFLN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600852B RID: 34091 RVA: 0x001629E8 File Offset: 0x00160BE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyGetRafflePoolInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.pCEGPDNBFLN_ != null)
			{
				if (this.pCEGPDNBFLN_ == null)
				{
					this.PCEGPDNBFLN = new LNLBMBDCLMC();
				}
				this.PCEGPDNBFLN.MergeFrom(other.PCEGPDNBFLN);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600852C RID: 34092 RVA: 0x00162A50 File Offset: 0x00160C50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600852D RID: 34093 RVA: 0x00162A5C File Offset: 0x00160C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 32U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.pCEGPDNBFLN_ == null)
					{
						this.PCEGPDNBFLN = new LNLBMBDCLMC();
					}
					input.ReadMessage(this.PCEGPDNBFLN);
				}
			}
		}

		// Token: 0x040032D7 RID: 13015
		private static readonly MessageParser<MonopolyGetRafflePoolInfoScRsp> _parser = new MessageParser<MonopolyGetRafflePoolInfoScRsp>(() => new MonopolyGetRafflePoolInfoScRsp());

		// Token: 0x040032D8 RID: 13016
		private UnknownFieldSet _unknownFields;

		// Token: 0x040032D9 RID: 13017
		public const int RetcodeFieldNumber = 4;

		// Token: 0x040032DA RID: 13018
		private uint retcode_;

		// Token: 0x040032DB RID: 13019
		public const int PCEGPDNBFLNFieldNumber = 1;

		// Token: 0x040032DC RID: 13020
		private LNLBMBDCLMC pCEGPDNBFLN_;
	}
}
